home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 6 / The Arsenal Files 6 (Arsenal Computer).ISO / prg_basi / agavb25.zip / VC.ZIP / VCDEMVW.H < prev   
C/C++ Source or Header  |  1995-12-11  |  1KB  |  52 lines

  1. // vcdemvw.h : interface of the CVcdemoView class
  2. //
  3. /////////////////////////////////////////////////////////////////////////////
  4.  
  5. class CVcdemoView : public CFormView
  6. {
  7. protected: // create from serialization only
  8.     CVcdemoView();
  9.     DECLARE_DYNCREATE(CVcdemoView)
  10.  
  11. public:
  12.     //{{AFX_DATA(CVcdemoView)
  13.     enum { IDD = IDD_VCDEMO_FORM };
  14.     CVBControl*    m_speed;
  15.     CVBControl*    m_direction;
  16.     //}}AFX_DATA
  17.  
  18. // Attributes
  19. public:
  20.     CVcdemoDoc* GetDocument();
  21.  
  22. // Operations
  23. public:
  24.  
  25. // Implementation
  26. public:
  27.     virtual ~CVcdemoView();
  28. #ifdef _DEBUG
  29.     virtual void AssertValid() const;
  30.     virtual void Dump(CDumpContext& dc) const;
  31. #endif
  32.  
  33. protected:
  34.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  35.  
  36. // Generated message map functions
  37. protected:
  38.     //{{AFX_MSG(CVcdemoView)
  39.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  40.     afx_msg void OnTimer(UINT nIDEvent);
  41.     afx_msg void OnDestroy();
  42.     //}}AFX_MSG
  43.     DECLARE_MESSAGE_MAP()
  44. };
  45.  
  46. #ifndef _DEBUG  // debug version in vcdemvw.cpp
  47. inline CVcdemoDoc* CVcdemoView::GetDocument()
  48.    { return (CVcdemoDoc*)m_pDocument; }
  49. #endif
  50.  
  51. /////////////////////////////////////////////////////////////////////////////
  52.